import React, { useState } from 'react'
import { Select, Space } from 'antd'
const { Option } = Select
const MySelect = () => {
  const [value1, setValue1] = useState(1)
  return (
    <>
      <div className="box">
        <div className="box-header">base</div>
        <div className="box-body">
          <div className="box-content">
            <Space direction="vertical">
              <Select value={value1} onChange={setValue1} style={{ width: 100 }}>
                <Option value={1}>A</Option>
                <Option value={2}>B</Option>
                <Option value={3}>C</Option>
              </Select>
            </Space>
          </div>
        </div>
      </div>
    </>
  )
}
export default MySelect